﻿using System.Collections.ObjectModel;

namespace Unknown.Framework.Database
{
    /// <summary>
    /// 操作类
    /// </summary>
    public class Operation
    {
        /// <summary>
        /// SQL语句
        /// </summary>
        public string Sql { get; set; }
        private Collection<Parameter> _Parameters = new Collection<Parameter>();
        /// <summary>
        /// 参数
        /// </summary>
        public Collection<Parameter> Parameters
        {
            get
            {
                return this._Parameters;
            }
        }
        /// <summary>
        /// 操作处理
        /// </summary>
        public IOperationHandler OperationHandler { get; set; }
    }
}
